﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.Domain.S
{
    /// <summary>
    /// 在线下单
    /// </summary>
    public class OnlineOrdering
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 运单号
        /// </summary>
        public string WaybillNumber { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserNumber { get; set; }

        /// <summary>
        /// 送达仓库
        /// </summary>
        public int DeliveryToWarehouse {  get; set; }

        /// <summary>
        /// 线路名称
        /// </summary>
        public int LineName { get; set; }

        /// <summary>
        /// 发件人姓名
        /// </summary>
        public string SenderName { get; set; }

        /// <summary>
        /// 发件人电话
        /// </summary>
        public string SenderPhone {  get; set; }

        /// <summary>
        /// 发件人地址
        /// </summary>
        public string SenderAddress { get; set; }

        /// <summary>
        /// 一键粘贴
        /// </summary>
        public string OneClickPaste { get; set; }

        /// <summary>
        /// 收件人姓名
        /// </summary>
        public string RecipientName { get; set; }

        /// <summary>
        /// 收件人电话
        /// </summary>
        public string RecipientPhone { get; set;}

        /// <summary>
        /// 收件人地址
        /// </summary>
        public string RecipientAddress { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        public int ZipCode { get; set; }

        /// <summary>
        /// 证件号
        /// </summary>
        public int IDNumber { get; set; }

        /// <summary>
        /// 身份正面
        /// </summary>
        public string Front {  get; set; }

        /// <summary>
        /// 身份反面
        /// </summary>
        public string Back { get; set; }

        /// <summary>
        /// 重量
        /// </summary>
        public int Weight { get; set; }

        /// <summary>
        /// 保险
        /// </summary>
        public int Insurance { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }

        /// <summary>
        /// 保额
        /// </summary>
        public int Coverage { get; set; }

        /// <summary>
        /// 体积重
        /// </summary>
        public double Volume { get; set; }
    }
}
